CC = gcc
CFLAGS = -g -I/usr/include/mpi -I/usr/include/petsc 
CLIBS = -lpetsc -lpetscmat -lpetscvec -lpetscksp -lcblas
CMACROS = 
LD = ld
RM = rm -f
CD = cd
PETSCPREFIX = petsc

all: crf.c
	$(CC) $(CFLAGS) $(CMACROS) $(CLIBS) crf.c -o crf

clean:
	$(RM) *.o *~ *.output crf
